package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.Adv;
import com.bxj.wxtt.api.service.IAdvDubboService;
import com.bxj.wxtt.service.AdvService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("advDubboService")
public class AdvDubboServiceImpl implements IAdvDubboService {
    @Resource
    AdvService advService;

    public Adv selectById(String id) {
        return advService.selectById(id);
    }

    public List<Adv> getAdvList(Adv adv) {
        return advService.getAdvList(adv);
    }

    public PageResult<Adv> getAdvPage(Adv adv) {
        return advService.getAdvPage(adv);
    }

    public int insert(Adv adv) {
        int ret = advService.insert(adv);
        return ret;
    }

    public int updateAdvById(Adv adv) {
        return advService.updateAdvById(adv);
    }
}